<?php
/*
   基本信息管理
*/
class BasicController extends AdminController {
    /*
        actionSetting  网站设置
        actionTemplate  模板管理
    */

	public $modelName = 'Website';
	public function modelProvider() {
		return array_merge(parent::modelProvider(), array(
			'criteria' => array('scopes'=>'related'),
		));
	}
	public function outerActions() {
		return array_merge(parent::outerActions(),array(
			'admin' => 'actions.mall.basic.admin',
			'edit' => 'actions.mall.basic.edit',
			'view' => 'actions.mall.basic.view',
			'commit' => 'actions.audit.commit',
			'passed' => 'actions.audit.passed',
			'unpassed' => 'actions.audit.unpassed'
		));
	}
}
?>